package router

import (
	"gin-vue-admin/api/v1"
	"gin-vue-admin/middleware"
	"github.com/gin-gonic/gin"
)

func InitBrandComRouter(Router *gin.RouterGroup) {
	BrandComRouter := Router.Group("brandCom").Use(middleware.OperationRecord())
	{
		BrandComRouter.POST("createBrandCom", v1.CreateBrandCom)   // 新建BrandCom
		BrandComRouter.DELETE("deleteBrandCom", v1.DeleteBrandCom) // 删除BrandCom
		BrandComRouter.DELETE("deleteBrandComByIds", v1.DeleteBrandComByIds) // 批量删除BrandCom
		BrandComRouter.PUT("updateBrandCom", v1.UpdateBrandCom)    // 更新BrandCom
		BrandComRouter.GET("findBrandCom", v1.FindBrandCom)        // 根据ID获取BrandCom
		BrandComRouter.GET("getBrandComList", v1.GetBrandComList)  // 获取BrandCom列表
	}
}
